﻿<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <title>凉山州中考报名信息管理系统</title>
    <%--
    <link rel="stylesheet" href="/css/newStyle.css"
          th:href="@{/css/newStyle.css}">
    <link rel="stylesheet" type="text/css" href="/css/bwyStyle.css"
          th:href="@{/css/bwyStyle.css}" />--%>

    <link href="css/newStyle.css" rel="stylesheet" />
    <link href="css/bwyStyle.css" rel="stylesheet" />
    <link href="css/bootstrap.min.css" rel="stylesheet" />
    <script src="scripts/jquery-3.2.1.min.js"></script>
    <script src="scripts/bootstrap.min.js"></script>
    <script src="scripts/jquery.cxselect.min.js"></script>
</head>
<body>
    <form class="form-inline">
        <div class="container newmainBox " th:object="${student}">
            <div class="row text-center">
                <div>
                    <h1>凉山州中考报名信息填报(初级中学)</h1>
                </div>
            </div>
            <div class="row">
                <p class="tips" style="text-align: center;">学生基础信息修改请以纸质的申请及相关材料向县市招办申请</p>
            </div>
            <div class="clearfix visible-xs-block"></div>
            <div class="row">
                <div class="col-xs-12 col-md-12 text-right">
                    <a id="updataPassword" class="loginOut" onclick="is_submit(1)">[修改密码]</a>
                    <a id="loginOut" class="loginOut" onclick="is_submit(2)">[安全退出]</a>
                    <a id="loginOut" class="loginOut" onclick="is_submit(3)">[返&nbsp;&nbsp; &nbsp;&nbsp;回]</a>
                </div>
            </div>
            <div class="row">
                <div class="panel panel-success">
                    <div class="panel-heading text-center">
                        <h3 class="panel-title">
                            基础信息
                        </h3>
                    </div>
                </div>
            </div>
            <div class="row">
                <div class="col-xs-2 col-md-2 text-right">
                    <span>当前学生：</span>
                </div>
                <div class="col-xs-2 col-md-2" style="float: left">
                    <label>姓名</label>
                </div>
                <div class="col-xs-2 col-md-2 text-right">
                    <span>身份证号：</span>
                </div>
                <div class="col-xs-2 col-md-2" style="float: left">
                    <label>身份证号</label>
                </div>
                <div class="col-xs-2 col-md-2 text-right">
                    <span>学籍号：</span>
                </div>
                <div class="col-xs-2 col-md-2" style="float: left">
                    <label>学籍号</label>
                </div>
            </div>
            <div class="clearfix" style="margin-bottom: 10px;"></div>
            <div class="row">
                <div class="col-xs-2 col-md-2 text-right">
                    <span>出生年月：</span>
                </div>
                <div class="col-xs-2 col-md-2" style="float: left">
                    <label>出生年月</label>
                </div>
                <div class="col-xs-2 col-md-2 text-right">
                    <span>性别：</span>
                </div>
                <div class="col-xs-2 col-md-2" style="float: left">
                    <label>男女</label>
                </div>
                <div class="col-xs-2 col-md-2 text-right">
                    <span>民族：</span>
                </div>
                <div class="col-xs2 col-md-2" style="float: left">
                    <label>民族</label>
                </div>
            </div>
            <div class="clearfix" style="margin-bottom: 10px;"></div>
            <div class="row">
                <div class="col-xs-2 col-md-2 text-right">
                    <span>学校名称：</span>
                </div>
                <div class="col-xs-2 col-md-2" style="float: left">
                    <label>xxx学校</label>
                </div>
                <div class="col-xs-2 col-md-2 text-right">
                    <span>班级名称：</span>
                </div>
                <div class="col-xs-2 col-md-2" style="float: left">
                    <label>xxx级x班</label>
                </div>
                <div class="col-xs-2 col-md-2 text-right">
                    <span>就读县市：</span>
                </div>
                <div class="col-xs2 col-md-2" style="float: left">
                    <label>xxx县</label>
                </div>
            </div>
            <div class="clearfix" style="margin-bottom: 10px;"></div>
            <div class="row">
                <div class="panel panel-primary">
                    <div class="panel-heading text-center">
                        <h3 class="panel-title">扩展信息</h3>
                    </div>
                </div>
            </div>
            <div class="row">
                <div class="col-xs-2 col-md-2 text-right">
                    <label for="homeaddress">家庭地址：</label>
                </div>
                <div class="col-xs-10 col-md-10" style="float: left">
                    <input type="text" maxlength="250" style="width: 100%" class="bg-success" id="homeaddress" placeholder="请输入家庭地址" />
                </div>
            </div>
            <div class="clearfix" style="margin-bottom: 10px;"></div>
            <div class="row">
                <div class="col-xs-2 col-md-2 text-right">
                    <label for="mailaddress">通信地址：</label>
                </div>
                <div class="col-xs-10 col-md-10" style="float: left">
                    <input type="text" maxlength="250" style="width: 100%" class="bg-success" id="mailaddress" placeholder="请输入通信地址" />
                </div>
            </div>
            <div class="clearfix" style="margin-bottom: 10px;"></div>
            <div class="row">
                <div class="col-xs-2 col-md-2 text-right">
                    <label for="contactnumber">联系电话：</label>
                </div>
                <div class="col-xs-10 col-md-10" style="float: left">
                    <input type="tel" maxlength="11" class="bg-success" id="contactnumber" placeholder="请输入联系电话" />
                </div>
            </div>
            <div class="clearfix" style="margin-bottom: 10px;"></div>
            <div class="row">
                <div class="col-xs-2 col-md-2 text-right">
                    <label>户口类别：</label>
                </div>
                <div class="col-xs-10 col-md-10" style="float: left">
                    <div class="btn-group" data-toggle="buttons">
                        <label class="btn btn-success">
                            <input type="radio" name="hklb" id="hklb1" value="2">
                            城镇
                        </label>
                        <label class="btn btn-success">
                            <input type="radio" name="hklb" id="hklb2" value="1">
                            农村
                        </label>
                    </div>
                </div>
            </div>
            <div class="clearfix" style="margin-bottom: 10px;"></div>
            <div class="row">
                <div class="col-xs-2 col-md-2 text-right">
                    <label>考生类型</label>
                </div>
                <div class="col-xs10 col-md-10" style="float: left">
                    <div class="btn-group" data-toggle="buttons">
                        <label class="btn btn-success">
                            <input type="radio" name="kslx" id="kslx1" value="2">
                            一类模式
                        </label>
                        <label class="btn btn-success">
                            <input type="radio" name="kslx" id="kslx2" value="3">
                            二类模式
                        </label>
                    </div>
                </div>
            </div>
            <div class="clearfix" style="margin-bottom: 10px;"></div>
            <div class="row">
                <div class="col-xs-2 col-md-2 text-right">
                    <label>政治面貌：</label>
                </div>
                <div class="col-xs-10 col-md-10" style="float: left">
                    <div class="btn-group" data-toggle="buttons">
                        <label class="btn btn-success">
                            <input type="radio" name="zzmm" id="zzmm1">
                            团员
                        </label>
                        <label class="btn btn-success">
                            <input type="radio" name="kslx" id="zzmm2">
                            其他
                        </label>
                    </div>
                </div>
            </div>
            <div class="clearfix" style="margin-bottom: 10px;"></div>
            <div class="row">
                <div class="col-xs-2 col-md-2 text-right">
                    <label>考生类别：</label>
                </div>
                <div class="col-xs-10 col-md-10" style="float: left">
                    <div class="btn-group" data-toggle="buttons">
                        <label class="btn btn-success">
                            <input type="radio" name="kslb" id="kslb1">
                            初中应届
                        </label>
                        <label class="btn btn-success">
                            <input type="radio" name="kslb" id="kslb2">
                            初中往届
                        </label>
                    </div>
                </div>
            </div>
            <div class="clearfix" style="margin-bottom: 10px;"></div>
            <div class="row">
                <div class="col-xs-2 col-md-2 text-right">
                    <label>加试科目</label>
                </div>
                <div class="col-xs10 col-md-10" style="float: left">
                    <div class="btn-group" data-toggle="buttons">
                        <label class="btn btn-success">
                            <input type="radio" name="ddks" id="jskm1">
                             藏语文
                        </label>
                        <label class="btn btn-success">
                            <input type="radio" name="ddks" id="jskm2">
                           彝语文
                        </label>
                    </div>
                </div>
            </div>
            <div class="clearfix" style="margin-bottom: 10px;"></div>
            <div class="row" id="row5">
                <div class="col-xs-2 col-md-2 text-right">
                    <label>户籍地：</label>
                </div>
                <div class="col-xs-10 col-md-10 input-group" id="element_id">
                    <select class="province" data-value="51" data-first-title="选择省"></select>
                    <select class="city" data-first-title="选择市"></select>
                    <select class="area" data-first-title="选择地区"></select>
                    <select name="hjd" class="street" data-first-title="选择乡镇街道"></select>
                </div>
            </div>
            <div class="row" id="sub">
                 <div class="col-xs-12 col-md-12">
                     <button class="btn btn-primary btn-block" type="submit">提交</button>
                 </div>
            </div>
        </div>
    </form>
</body>
<script src="js/gVerify.js"></script>
<script src="js/commen.js"></script>
<script>
    /*户籍地联动*/
    $.cxSelect.defaults.url = "scripts/pcas-code.json";
    $("#element_id").cxSelect({
        selects: ['province', 'city', 'area', 'street'],
        jsonName: 'n',
        jsonValue: 'v',
        nodata: 'none'
    });

    $.cxSelect.defaults.nodata = 'none';



</script>
<script type="text/javascript" th:inline="javascript">

    var mz = [[${stu.mz}]];
$("#mz").val(mz);
var hjd = [[${stu.hjd}]];
if(hjd.length>=2){
	$(".province").attr("data-value",hjd.substring(0,2));
}
if(hjd.length>=4){
	$(".city").attr("data-value",hjd.substring(0,4));
}
if(hjd.length>=6){
	$(".area").attr("data-value",hjd.substring(0,6));
}
if(hjd.length>=9){
	$(".street").attr("data-value",hjd.substring(0,9));
}
</script>

</html>
